TextFontUsageRun

data class TextFontUsageRun(val from: Int, val to: Int, val requestedFontFileUri: String, val actualFontFileUri: String?, val status: String, val effectiveFontSize: Float, val requested: FontRequest? = null)

Font provenance for a contiguous UTF-16 range in TextFontUsage.text.

Constructors

Link copied to clipboard
constructor(from: Int, to: Int, requestedFontFileUri: String, actualFontFileUri: String?, status: String, effectiveFontSize: Float, requested: FontRequest? = null)

Properties

Link copied to clipboard

The loaded opaque font identifier including applied variation axes, or null when no usable face loaded.

Link copied to clipboard

Laid-out font size in the scene font unit, including automatic and script scaling.

Link copied to clipboard
val from: Int

Inclusive start UTF-16 code-unit index in the returned resolved text.

Link copied to clipboard
val requested: FontRequest? = null

Stored font identity, if this range uses a runtime font request.

Link copied to clipboard

The requested opaque font identifier before shaping fallback, including variation axes.

Link copied to clipboard

resolved matches the stored request or URI; substituted uses another face; unresolved has no usable face. Emoji fonts count as substitutions. resolved does not guarantee glyph coverage.

Link copied to clipboard
val to: Int

Exclusive end UTF-16 code-unit index in the returned resolved text.